#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Nov 22 16:52:04 2018

@author: jili
"""

import sys
import signal
import time
def handle(a,b):
    print("recive :",a)
    sys.exit(1)
signal.signal(signal.SIGTERM,handle)
print("init test.py")
while True:
    print("I am run")
    time.sleep(10)